package com.example.mybatisdemo.services.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.mybatisdemo.entities.IdSequence;
import com.example.mybatisdemo.mapper.IdSequenceMapper;
import com.example.mybatisdemo.services.IdSequenceService;
import org.springframework.stereotype.Service;

@Service
public class IdSequenceServiceImpl extends ServiceImpl<IdSequenceMapper, IdSequence> implements IdSequenceService {
    @Override
    public void truncate() {
        this.baseMapper.truncate();
    }

    @Override
    public void removeAll() {
        this.baseMapper.removeAll();
    }
}
